//
//  BCBaseViewController.m
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/11/12.
//  Copyright © 2018年 guoshikeji. All rights reserved.
//

#import "BCBaseViewController.h"

//
#import "GSCommonLoginViewController.h"

@interface BCBaseViewController ()

@end

@implementation BCBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    //添加用户登录成功的监听
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(userLoginSuccessedAction:) name:UserCommonLoginSuccessNotification object:nil];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

- (void)updateStatusBar {
    
}



/**
 用户登录成功监听方法
 */
- (void)userLoginSuccessedAction:(NSNotification *)noti {}



- (void)dealloc {
    [[NSNotificationCenter defaultCenter] removeObserver:self name:UserCommonLoginSuccessNotification object:nil];
}

@end
